package com.weasel.weixin.commons.message.bean.initiative;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by Dylan on 2015/10/19.
 */
public class ImageCustomInitiativeMessage extends AbstractCustomInitiativeMessage {


    @JsonProperty("image")
    private Image image;

    public ImageCustomInitiativeMessage() {
        super("image");
    }

    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public static class Image{

        @JsonProperty("media_id")
        private String mediaId;  //发送的图片/语音/视频的媒体ID

        public String getMediaId() {
            return mediaId;
        }

        public void setMediaId(String mediaId) {
            this.mediaId = mediaId;
        }
    }
}
